<!DOCTYPE html>
<html lang = "en" xmlns:th="http://www.thymeleaf.org">
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>全球疫情情况</title>
    <link rel="stylesheet" style="text:css" charset="UTF-8" href="/css/public.css"/>
    <link rel="stylesheet" style="text:css" charset="UTF-8" href="/css/style.css"/>
</head>
<body>
<!--头部-->
    <header class="publicHeader">
        <h1>全球疫情情况</h1>
    </header>
<!--时间-->
    <section class="publicTime">
        <span id="time">2021年1月1日 11:11  星期一</span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
    </section>
<!--主体内容-->
    <section class="publicMian ">
        <div class="left">
            <nav>
                <ul class="list">
                    <li id="active"><a href="/data/show">全球疫情</a></li>
                    <li><a href="/data/showChina">中国疫情</a></li>
                    <li><a href="/data/showByCountry">其他国家疫情</a></li>
                </ul>
            </nav>
        </div>
        <div class="right">
            <div class="search">
                <form name="form" action="/data/showByCountry" method="post">
                    <input type="text" placeholder="请输入国家" name="country"/>
                    <input type="submit" value="查询">
                </form>
                <span class="mySpan" th:text="${diff}"></span>
                <span class="mySpan">较昨日新增:</span>
                <span class="mySpan" th:text="${Total}"></span>
                <span class="mySpan">全球总感染人数:</span>

            </div>
            <!--表格-->
            <table class="providerTable" cellpadding="0" cellspacing="0">
                <tr class="firstTr">
                    <th width="10%">国家</th>
                    <th width="20%">省/州</th></th>
                    <th width="10%">目前感染人数</th>
                    <th width="10%">较昨日新增</th>
                </tr>
                <tr th:each="var,rs:${regionList}">
                    <td th:text="${rs.current.getCountry()}"></td>
                    <td th:text="${rs.current.getState()}"></td>
                    <td th:text="${rs.current.getLatestLocalCases()}"></td>
                    <td th:text="${rs.current.getDiffFormPrevDay()}"></td>
                </tr>
            </table>
        </div>
    </section>

<script src="/js/jquery.js"></script>
<script src="/js/js.js"></script>
<script src="/js/time.js"></script>

</body>
</html>